package com.gy.spring.mvc.entity;

import java.io.Serializable;

/**
 * TODO 用户登录表
 *
 * @author geYang
 * @date 2018-04-12
 */
public class UserLogin implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private Integer id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 用户令牌
     */
    private String userToken;

    public UserLogin() {
    }

    public UserLogin(Integer id, String username, String password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserToken() {
        return userToken;
    }

    public void setUserToken(String userToken) {
        this.userToken = userToken;
    }

    @Override
    public String toString() {
        return "UserLogin{" + "id=" + id + ", username=" + username + ", password=" + password + "}";
    }
}
